/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo1021;
import java.lang.reflect.Field;

/**
 *
 * @author Administrator
 */
public class ClassDemo {
    public static void main(String args[]){
       
        Class c1=Student.class;
        Field f1[]=c1.getDeclaredFields();
        for(Field f:f1){
            System.out.println(f);
        }
        
        
    }
    
}
